Date: Tue, 29 Jun 1999 15:29:58 +0100 From: Kevin Bracey <kbracey@e-14.com> To: freebsd-net@freebsd.org Subject: Re: Old IP addresses hanging around in routes Message-ID: <fff1cd1949%kbracey@kbracey.acorn.co.uk> In-Reply-To: <Pine.BSF.3.95.990628093040.10211D-100000@current1.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.3.95.990628093040.10211D-100000@current1.whistle.com> Julian Elischer <julian@whistle.com> wrote: > I cahcked in a set of changes for this back in 1997 > they are in a branch marked "WHISTLE_NET_BRANCH" or something similar. > > use the CVS web interface to check some of teh files (like if.c) > to find the tag and then exctact out the differences.. > I have decided that I will resurect those changes some day and apply the m > to current.. > what they do is: > > reference count a lot more networking structures. > remove all references from routes directly to interfaces (they go via the > ifaddrs only) > > add code to notice when ifaddrs are invalid and remove the reference. > (the ifaddr is freed when it's last reference goes away) > I've had a little look at this. It seems a little severe - if I understand it correctly then any static routes through an interface will be totally deleted if that interface route is deleted. Is this interpretation correct? -- Kevin Bracey, Senior Software Engineer Pace Micro Technology plc Tel: +44 (0) 1223 725228 645 Newmarket Road Fax: +44 (0) 1223 725328 Cambridge, CB5 8PB, United Kingdom WWW: http://www.acorn.co.uk/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fff1cd1949%kbracey>